<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      Screen-4.8.0
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.79.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-9.1">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 9.1
      </h4>
      <h3>
        Chapter&nbsp;11.&nbsp;General Utilities
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="rep-gtk.html" title=
          "Rep-gtk-0.90.8.3">Prev</a>
          <p>
            Rep-gtk-0.90.8.3
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="shared-mime-info.html" title=
          "shared-mime-info-1.15">Next</a>
          <p>
            shared-mime-info-1.15
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="genutils.html" title=
          "Chapter&nbsp;11.&nbsp;General Utilities">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="screen" name="screen"></a>Screen-4.8.0
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to Screen
        </h2>
        <p>
          <span class="application">Screen</span> is a terminal multiplexor
          that runs several separate processes, typically interactive shells,
          on a single physical character-based terminal. Each virtual
          terminal emulates a DEC VT100 plus several ANSI X3.64 and ISO 2022
          functions and also provides configurable input and output
          translation, serial port support, configurable logging, multi-user
          support, and many character encodings, including UTF-8. Screen
          sessions can be detached and resumed later on a different terminal.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "https://ftp.gnu.org/gnu/screen/screen-4.8.0.tar.gz">https://ftp.gnu.org/gnu/screen/screen-4.8.0.tar.gz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download (FTP): <a class="ulink" href=
                "ftp://ftp.gnu.org/gnu/screen/screen-4.8.0.tar.gz">ftp://ftp.gnu.org/gnu/screen/screen-4.8.0.tar.gz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: d276213d3acd10339cd37848b8c4ab1e
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 836 KB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 7.4 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: 0.1 SBU
              </p>
            </li>
          </ul>
        </div>
        <h3>
          Screen Dependencies
        </h3>
        <h4>
          Optional
        </h4>
        <p class="optional">
          <a class="xref" href="../postlfs/linux-pam.html" title=
          "Linux-PAM-1.3.1">Linux-PAM-1.3.1</a>
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/screen">http://wiki.linuxfromscratch.org/blfs/wiki/screen</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of Screen
        </h2>
        <p>
          Install <span class="application">Screen</span> by running the
          following commands:
        </p>
        <pre class="userinput">
<kbd class="command">./configure --prefix=/usr                     \
            --infodir=/usr/share/info         \
            --mandir=/usr/share/man           \
            --with-socket-dir=/run/screen     \
            --with-pty-group=5                \
            --with-sys-screenrc=/etc/screenrc &amp;&amp;

sed -i -e "s%/usr/local/etc/screenrc%/etc/screenrc%" {etc,doc}/* &amp;&amp;
make</kbd>
</pre>
        <p>
          This package does not come with a test suite.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make install &amp;&amp;
install -m 644 etc/etcscreenrc /etc/screenrc</kbd>
</pre>
      </div>
      <div class="commands" lang="en" xml:lang="en">
        <h2 class="sect2">
          Command Explanations
        </h2>
        <p>
          <em class=
          "parameter"><code>--with-socket-dir=/run/screen</code></em>: This
          option places the per-user sockets in a standard location.
        </p>
        <p>
          <em class=
          "parameter"><code>--with-sys-screenrc=/etc/screenrc</code></em>:
          This option places the global screenrc file in <code class=
          "filename">/etc</code>.
        </p>
        <p>
          <em class="parameter"><code>--with-pty-group=5</code></em>: This
          option sets the gid to the value used by LFS.
        </p>
        <div class="admon note">
          <img alt="[Note]" src="../images/note.png" />
          <h3>
            Note
          </h3>
          <p>
            Older versions of LFS use the value 4 for the tty group. If you
            are using LFS version 7.1 or older, change the pty-group option
            to 4.
          </p>
        </div>
        <p>
          <span class="command"><strong>sed -i -e
          "s%/usr/local/etc/screenrc%/etc/screenrc%"
          {etc,doc}/*</strong></span>: This command corrects the
          configuration and documentation files to the location that is used
          here for the global screenrc file.
        </p>
      </div>
      <div class="configuration" lang="en" xml:lang="en">
        <h2 class="sect2">
          Configuring Screen
        </h2>
        <div class="sect3" lang="en" xml:lang="en">
          <h3 class="sect3">
            <a id="screen-config" name="screen-config"></a>
          </h3>
          <h4 class="title">
            <a id="screen-config" name="screen-config"></a>Config Files
          </h4>
          <p>
            <code class="filename">/etc/screenrc</code> and <code class=
            "filename">~/.screenrc</code>
          </p>
        </div>
        <div class="sect3" lang="en" xml:lang="en">
          <h3 class="sect3"></h3>
          <h4 class="title">
            <a id="idm45779272495344" name=
            "idm45779272495344"></a>Configuration Information
          </h4>
          <p>
            You may want to look at the example configuration file that was
            installed and customize it for your needs.
          </p>
        </div>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Program:</strong>
              <span class="segbody">screen (symlink) and screen-4.8.0</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Libraries:</strong>
              <span class="segbody">None</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directory:</strong>
              <span class="segbody">/usr/share/screen and /run/screen</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="screen-prog" name="screen-prog"></a><span class=
                    "term"><span class=
                    "command"><strong>screen</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a terminal multiplexor with VT100/ANSI terminal
                    emulation.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-02-15 22:43:28 -0800
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="rep-gtk.html" title=
          "Rep-gtk-0.90.8.3">Prev</a>
          <p>
            Rep-gtk-0.90.8.3
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="shared-mime-info.html" title=
          "shared-mime-info-1.15">Next</a>
          <p>
            shared-mime-info-1.15
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="genutils.html" title=
          "Chapter&nbsp;11.&nbsp;General Utilities">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
